package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Appointment;
import cn.wolfcode.car.business.query.AppointmentQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface AppointmentMapper extends BaseMapper<Appointment> {
    int deleteByPrimaryKey(Long id);

    int insert(Appointment record);

    Appointment selectByPrimaryKey(Long id);

    List<Appointment> selectAll();

    List<Appointment> selectByCondition(AppointmentQuery appointmentQuery);

    int updateByPrimaryKey(Appointment record);
}